
 <script language="javascript">
 changeWaiting(0); 
 $(document).ready(function () {
    initForm('fmfrmreportcancelroom_tblinfo'); 
    initDivleft();    
});
 var fmfrmreportcancelroom_cal1 = CreateCalObject('fmfrmreportcancelroom_fromdate', 'fmfrmreportcancelroom_imgCal1');
var fmfrmreportcancelroom_cal2 = CreateCalObject('fmfrmreportcancelroom_todate', 'fmfrmreportcancelroom_imgCal2');

function fmfrmreportcancelroom_createReport(){
    if(!checkDate('fmfrmreportcancelroom_fromdate','fmfrmreportcancelroom_todate',90)){
        return false;
    } 
 fromdate = ConvertoDateEN($('#fmfrmreportcancelroom_fromdate').val());
 todate = ConvertoDateEN($('#fmfrmreportcancelroom_todate').val()); 
 changeWaiting(0);
 xajax_fmfrmreportcancelroom_load(fromdate,todate);  
}
$('#fmfrmreportcancelroom_fromdate').val(GetCurrentDateTime(0,1,false,0)) ;
$('#fmfrmreportcancelroom_todate').val(GetCurrentDateTime(0,0,false,0)) ; 

fmfrmreportcancelroom_createReport();
</script>

<body>
<div class="divmain">
<table width="100%" id="fmfrmreportcancelroom_tblinfo" class="tblInfo">
<tr>
<td valign="top" class="width25">
<div>
<table class="info" id="fmfrmreportcancelroom_tblcondition">
<tr >
<td >
<div id="fmfrmreportcancelroom_divleft" class="divleft"> 
<table class="width100">
<tr>
 </tr>           
<tr><td>Thời gian:</td>
<td><input type="text" value="" class="datereport txtRequired" onblur="formatddmmyyyy(this)" maxlength="10"   id="fmfrmreportcancelroom_fromdate"/><a href="javascript:fmfrmreportcancelroom_cal1.popup();">
<img src="adagps.com/images/cal/cal2.png" id="fmfrmreportcancelroom_imgCal1"  class="datepicker dpkstart" ></a>
-
<input type="text" class="datereport txtRequired" onblur="formatddmmyyyy(this)" maxlength="10"  value=""  id="fmfrmreportcancelroom_todate" /><a href="javascript:fmfrmreportcancelroom_cal2.popup();">
<img src="adagps.com/images/cal/cal2.png" id="fmfrmreportcancelroom_imgCal2" alt="Nhấn vào đây để chọn ngày"   class="datepicker dpkend" ></a>  </td></tr>
         
</table>
       <div class="divactionbuton">

        <button id="fmfrmreportcancelroom_create" class="bntreport" onclick="fmfrmreportcancelroom_createReport();" type="button"> Xem </button>
        </div>
</div>
</td>
</tr>
<tr>
<td>

<!--<button id="fmfrmreportcancelroom_create" class="bntreport"  onclick="fmfrmreportcancelroom_createReport();" type="button"> Xem </button>   -->
</td>
</tr>
</table>
</div>
</td>
<td class="clsmiddle"></td>

<td width="80%" height="400" valign="top">
<div class="divGrid" id="fmfrmreportcancelroom_divGrid">

</div></td>
<td class="clsend"></td>
</tr>
</table>
</div>

</body>

